home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Release Notes / Fixed Problems Part 1 next >
Encoding:
Text File  |  1996-09-19  |  30.4 KB  |  358 lines  |  [TEXT/ttxt]

  1. OpenDoc
  2. Development
  3. Framework
  4.                                                                                                                                                                                          
  5. Fixed Problems Part 1 
  6. ODF Release  2                                                                                                                                                               
  7.  
  8. The following is a list of the known problems in this release of ODF.  This includes the Radar Bug Tracking number, the bug title, details of the problem, and, in some cases,  a workaround.
  9.  
  10.                                                                                                                                                                                          
  11. Tracking Number: 1205824    
  12. Description: ODF doesn't support Presentation changed
  13. Solution: Change presentation is now supported. See clock sample.
  14.                                                                                                                                                                                          
  15. Tracking Number: 121673
  16. Description: Some event classes don't have accessors for modifier keys
  17. Solution: Additional accessors added.
  18.                                                                                                                                                                                           
  19. Tracking Number: 1247285
  20. Description: Calling the HitTest method of a shape that was rendered using the FW_kNoRendering verb returns TRUE when the mouse is left ofver the object
  21. Solution:Added code in all hit-test shapes to check for this.
  22.                                                                                                                                                                                         
  23. Tracking Number: 1271019
  24. Description: ODF uses 68k alignment with CodeWarrior on PowerPC
  25. Solution: Fixed. We use native alignment, but use #pragma align for compatibility where necessary.
  26.                                                                                                                                                                                         
  27. Tracking Number: 1293228
  28. Description: ODFRC doesn't warn for non-existant constants...it uses zero as their value
  29. Solution: ODFRC now warns in this case.
  30.                                                                                                                                                                                         
  31. Tracking Number: 1307576
  32. Description: ODF doesn't support ODPart::ChangeKind
  33. Solution: ODF now supports multiple part kinds better, and has support for ChangeKinds.
  34.                                                                                                                                                                                         
  35. Tracking Number: 1316647
  36. Description: ODF parts don't run on systems without an FPU
  37. Solution: Fixed.
  38.                                                                                                                                                                                         
  39. Tracking Number: 1317508
  40. Description: FW_CAcquireTemporarySystemHandle::Resize doesn't update fMemoryPointer
  41. Solution: Fixed.
  42.                                                                                                                                                                                         
  43. Tracking Number: 1322787
  44. Description:  ODF doesn't support the scrolling focus (page up/ page down keys)
  45. Solution: Fixed in FW_CScroller.
  46.                                                                                                                                                                                         
  47. Tracking Number: 1323502
  48. Description: Inconsistency in FW_CIconShape use of render verb.  The Render method passes FW_kFrame, which is the render verb set by the constructor. The static RenderIcon method passes FW_kFill.
  49. Solution: FW_CIconShape's constructor now uses FW_kFill for consistency.
  50.                                                                                                                                                                                         
  51. Tracking Number: 1326493
  52. Description: ODFRC's preprocessor doesn't handle macros with more than 1 argument
  53. Solution: ODFRC's preprocessor is now ANSI C compliant.
  54.                                                                                                                                                                                         
  55. Tracking Number: 1329945
  56. Description: ODF should make it easier to implement an about box
  57. Solution: Added FW_CPart::DoAbout.
  58.                                                                                                                                                                                         
  59. Tracking Number: 1329999
  60. Description: ODFRC requires string fields to be the last fields in a resource type declaration
  61. Solution: Fixed. Strings can now appear anywhere in a type declaration.
  62.                                                                                                                                                                                         
  63. Tracking Number: 1330003
  64. Description: ODFRC doesn't allow resourcetypes with more than 2 arrays
  65. Solution: Fixed.
  66.                                                                                                                                                                                         
  67. Tracking Number: 1330586
  68. Description: FW_CEditView doesn't use its fMaxChars field
  69. Solution: Fixed in ODF 1.
  70.                                                                                                                                                                                         
  71. Tracking Number: 1330858
  72. Description: FW_CGraphicContext should use SetGWorld to guarantee support of offscreen bitmaps. It currently uses SetPort. 
  73. Solution: FW_CGraphicContext now uses SetGWorld.
  74.                                                                                                                                                                                         
  75. Tracking Number: 1330919
  76. Description: ODF should use the standard CodeWarrior runtime libraries
  77. Solution: Fixed.
  78.                                                                                                                                                                                         
  79. Tracking Number: 1331222
  80. Description: Need FW_CBitmap::GetColor and FW_CBitmap::SetColor
  81. Solution: The methods were added.
  82.                                                                                                                                                                                         
  83. Tracking Number: 1333116
  84. Description: FW_MEventHandler::BecomeTarget and FW_MEventHandler::ResignTarget are not virtual
  85. Solution: Method virtuality was unchanged.
  86. Workaround: The appropriate mechanism for dealing with targeting is to override some set of WantsToBeTarget, WillResignTarget, ActivateTarget, and DeactivateTarget. BecomeTarget and ResignTarget will remain non-virtual.
  87.                                                                                                                                                                                         
  88. Tracking Number: 1334665
  89. Description: FW_CString::ParseAsRealNumber shouldn't use sscanf
  90. Solution: Now uses str2dec, but still isn't localizable.
  91.                                                                                                                                                                                         
  92. Tracking Number: 1336798
  93. Description: ODFDraw documents with linked objects can crash at close
  94. Solution: Fixed.
  95.                                                                                                                                                                                         
  96. Tracking Number: 1340299
  97. Description: Deleting the target view doesn't reset the frame's target
  98. Solution: FW_CView's destructor, and FW_MEventHandler's destructor resign target.
  99.                                                                                                                                                                                         
  100. Tracking Number: 1340348
  101. Description: ODFContainer doesn't correctly redraw selection handles
  102. Solution: Fixed.
  103.                                                                                                                                                                                         
  104. Tracking Number: 1341351
  105. Description: Paste with Link across documents results in empty edit menu
  106. Solution: Fixed.
  107.                                                                                                                                                                                        
  108. Tracking Number: 1341357
  109. Description: Scroll bars are drawn during activate event even if they are invisible
  110. Solution: FW_CScrollBar::DoActivateEvent doesn't draw  if it is  not visible.
  111.                                                                                                                                                                                         
  112. Tracking Number: 1341815
  113. Description: Need API to change an FW_CScroller's units
  114. Solution: Added requested API.
  115.                                                                                                                                                                                         
  116. Tracking Number: 1342021
  117. Description: Need an FW_CShape::Inset method
  118. Solution: Added.
  119.                                                                                                                                                                                         
  120. Tracking Number: 1342307
  121. Description: FW_CPattern::operator== missing
  122. Solution: Added FW_CPattern::operator== and FW_CPatter::operator!=.
  123.                                                                                                                                                                                         
  124. Tracking Number: 1342323
  125. Description: FW_CScroller's page scrolling code should be shorter by 1 line (visible extent minus 1 line)
  126. Solution: Fixed in FW_CScroller
  127.                                                                                                                                                                                         
  128. Tracking Number: 1344364
  129. Description: FW_CString::ReplaceAll(ODIText*) doesn't replace locale
  130. Solution: Local information is now copied.
  131.                                                                                                                                                                                         
  132. Tracking Number: 1344542
  133. Description: Insert menu item allows users to select non-OpenDoc files
  134. Solution: Fixed with the addition of a filter proc to the insert command.
  135.                                                                                                                                                                                         
  136. Tracking Number: 1344632
  137. Description: fInterest leak in FW_CNotification. Two methods of FW_CNotification dynamically allocate FW_CInterest objects, but the objects are not deleted.
  138. Solution: Notification now uses interest objects rather than pointers to interest object.s
  139.                                                                                                                                                                                         
  140. Tracking Number: 1344763
  141. Description: Creating stationery on 68k Macintoshes with GX installed crashes.
  142. Solution: Fixed. We weren't testing for the presence of the GX code fragments in IsGXInstalled.
  143.                                                                                                                                                                                         
  144. Tracking Number: 1344842
  145. Description: FW_CPart::PrivNewEventDispatcher should not be Priv
  146. Solution: Renamed to NewEventDispatcher.
  147.                                                                                                                                                                                         
  148. Tracking Number: 1345077
  149. Description: PrintHandler code uses wrong string resource for printing errors
  150. Solution: Fixed. we now use the correct string resources.
  151.                                                                                                                                                                                         
  152. Tracking Number: 1345119
  153. Description: Selecting "Alignment" in ODFDraw causes "Group" function to occur
  154. Solution: Fixed.
  155.                                                                                                                                                                                         
  156. Tracking Number: 1345139
  157. Description: FW_CTracker assumes that the start click occurred in the content view
  158. Solution: Fixed. Now calls fView->FrameToContent instead of frame->GetGontentView->FrameToContentView.
  159.                                                                                                                                                                                         
  160. Tracking Number: 1345241
  161. Description: Can't use FW_PREREGISTER_RUNTIME_OBJECT with writable stream
  162. Solution:  FW_PREREGISTER_RUNTIME_OBJECT now takes an FW_OObjectRegistry* instead of an FW_CReadableStream&.
  163.                                                                                                                                                                                         
  164. Tracking Number: 1345266
  165. Description: FW_CCharacterCount used where FW_ByteCount should be used in FWBndStr.h.
  166. Solution: Fixed. String constructors always use FW_ByteCount.
  167.                                                                                                                                                                                         
  168. Tracking Number: 1345298
  169. Description: FileStream::Write with a byteLength of zero causes an assertion (count > 0)
  170. Solution: No longer causes an assertion if count == 0
  171.                                                                                                                                                                                         
  172. Tracking Number: 1345299
  173. Description: FW_CSuperView doesn't have WriteSubViewsToStream
  174. Solution: Added.
  175.                                                                                                                                                                                         
  176. Tracking Number: 1345983
  177. Description: FW_CMapping needs a GetMappingMode method
  178. Solution: Added.
  179.                                                                                                                                                                                         
  180. Tracking Number: 1345997
  181. Description: FW_CListBox constructor parameter order is inconsistent with other views.
  182. Solution: Fixed. All view constructors now take their first 4 params in the order (environment, containterView, bounds, viewID).
  183.                                                                                                                                                                                         
  184. Tracking Number: 1346423
  185. Description: FW_CRegionShape's constructor doesn't acquire the ODShape
  186. Solution: Fixed.
  187.                                                                                                                                                                                         
  188. Tracking Number: 1346696
  189. Description: FW_CStaticText::SetText doesn't refresh
  190. Solution: Added an FW_CInk data member, fEraseInk, to FW_CStaticText. By default it is initialized to white. When the view is drawn, the invalid area is erased using the erase ink prior to drawing.
  191.                                                                                                                                                                                         
  192. Tracking Number: 1347018
  193. Description: FW_CFacetClipper's constructor takes an unnecessary part parameter
  194. Solution: Both the ev and part parameter were removed.
  195.                                                                                                                                                                                         
  196. Tracking Number: 1347450
  197. Description: FW_CString::operator[] not correct for strings that contain double-byte characters
  198. Solution: Fixed.
  199.                                                                                                                                                                                         
  200. Tracking Number: 1347454
  201. Description: TradMac_GetBytePosition not correct for strings containing double-byte characters
  202. Solution: Fixed.
  203.                                                                                                                                                                                         
  204. Tracking Number: 1347747
  205. Description: FW_MProxy::SetEmbeddedFramesViewType should call ODFrame::ChangeViewType instead of ODFrame::SetViewType
  206. Solution: SetEmbeddedFramesViewType was renamed to ChangeEmbeddedFramesViewType. ChangeEmbeddedFramesViewType calls ODFrame::ChangeViewType.
  207.                                                                                                                                                                                         
  208. Tracking Number: 1347772
  209. Description: Default thumbnail is drawn incorrectly (line from bottom-left to top-rightis one pixel too far to the right)
  210. Solution: Fixed.
  211.                                                                                                                                                                                         
  212. Tracking Number: 1347777
  213. Description: FW_CRegionShape::Flatten is not implemented
  214. Solution: Added (currently Mac only).
  215.                                                                                                                                                                                         
  216. Tracking Number:  1349362
  217. Description: Bit manipulation error in FW_View::AdjustToNewLayout (test for FW_kFixedWidth was broken)
  218. Solution: Fixed. 
  219.                                                                                                                                                                                         
  220. Tracking Number: 1349786
  221. Description: FW_CString::GrowCapacity, FW_PrivString_SetCapacity and FW_CStringWriter::MakeWriter are declared but not implemented
  222. Solution: The first two have been implemented. MakeWriter has been removed.
  223.                                                                                                                                                                                         
  224. Tracking Number: 1350428
  225. Description: FW_PrivAlert isn't dealing with error conditions properly. The value returned from the call to GetNewDialog is not tested for NULL, and the dialog is potentially disposed multiple times.
  226. Solution:  Fixed.
  227.                                                                                                                                                                                         
  228. Tracking Number: 1350446
  229. Description: When ODButton is selected, it acts like it is active
  230. Solution: Fixed.
  231.                                                                                                                                                                                         
  232. Tracking Number: 1350723
  233. Description: Container doesn't draw its selection correctly after it has been viewed in its own window
  234. Solution: Fixed.
  235.                                                                                                                                                                                         
  236. Tracking Number: 1350741
  237. Description: FW_CView::SetVisible(FALSE) should invalidate. The fact that it doesn't causes hiding some views to leave droppings.
  238. Solution: Fixed.
  239.                                                                                                                                                                                         
  240. Tracking Number: 1350926
  241. Description: Print handler NotifyDefaultPrinter and NotifyPrintingCanceled load incorrect strings.
  242. Solution: Fixed.
  243.                                                                                                                                                                                         
  244. Tracking Number: 1350995
  245. Description: FW_MDroppableFrame::Drop should test for the point to be in the content view
  246. Solution: Fixed.
  247.                                                                                                                                                                                         
  248. Tracking Number: 1351277
  249. Description: FW_CMenuBar does not enable access to its menus making it impossible to add new menu items.
  250. Solution: Renamed FW_CMenuBar::PrivFindMenuWithID to FindMenuWithID (finds a menu given its menuID).
  251.                                                                                                                                                                                         
  252. Tracking Number: 1351373
  253. Description: The ListManager list associated with an FW_CListBox isn't resized when the view is resized
  254. Solution: Fixed.
  255.                                                                                                                                                                                         
  256. Tracking Number: 1351689
  257. Description: FW_FixedToWide not sign extending results
  258. Solution: Fixed.
  259.                                                                                                                                                                                         
  260. Tracking Number: 1352360
  261. Description: FW_CTextRead and FW_CTextWriter do not support double byte characters
  262. Solution: Fixed.
  263.                                                                                                                                                                                         
  264. Tracking Number: 1352363
  265. Description: FW_CStringReader doesn't respect the string's local information
  266. Solution: Fixed.
  267.                                                                                                                                                                                         
  268. Tracking Number: 1352759
  269. Description: FW_MacZoomWindow calls MacToolbox ZoomWindow with a front parameter of TRUE, causing problems for OpenDoc window management.
  270. Solution: Fixed.
  271.                                                                                                                                                                                         
  272. Tracking Number: 1353322
  273. Description: FW_CShapeListRep::FW_CShapeListRep(FW_CReadableStream) can leak memory if an exception is thrown.
  274. Solution: Fixed.
  275.                                                                                                                                                                                         
  276. Tracking Number: 1353958
  277. Description: FW_PrivMapping_SetExtents defines 'custom constrained' incorrectly. It should define x and y device extents to be equal...it defines them to be the minimum device extents, which may not be equal.
  278. Solution: Fixed.
  279.                                                                                                                                                                                         
  280. Tracking Number: 1353962
  281. Description: FW_PrivRenderBitmap inconsistent with rendering other shapes. The ink's transfer mode is being passed directly to CopyBits, instead of calling GetMacTransferMode to convert the ink's transfer mode to a legal QuickDraw transfer mode.
  282. Solution: Fixed.
  283.                                                                                                                                                                                         
  284. Tracking Number: 1354347
  285. Description: FW_CDropTracker data members should be protected, not private
  286. Solution: Change made as requested.
  287.                                                                                                                                                                                         
  288. Tracking Number: 1354431
  289. Description: ODFRC: Dangling commas cause dummy items to be inserted into arrays
  290. Solution: Fixed. ODFRC is now tolerant of unnecessary commas.
  291.                                                                                                                                                                                         
  292. Tracking Number: 1354525
  293. Description: FW_CStyle::IsEqual and FW_CInk::IsEqual should be const
  294. Solution: Fixed.
  295.                                                                                                                                                                                         
  296. Tracking Number: 1354976
  297. Description: Some methods of FW_CString cause asserts in FW_PrivString_Release if they throw exceptions
  298. Solution: Fixed.
  299.                                                                                                                                                                                         
  300. Tracking Number: 1355005
  301. Description: Need toomake FW_CFrame::HandleWindowEvent virtual for CyberDog support
  302. Solution: Done.
  303.                                                                                                                                                                                         
  304. Tracking Number: 1355393
  305. Description: newFileSpecificationForID mishandles vRefNum and dirID. It calls InitFromFileName for both Mac and Windows files. On the Mac, this results in file specs that have the correct file name, but have the vRefNum and the dirID of the current working directory
  306. Solution: newFileSpecificationForID now creates an FSSpec and calls AssignFileSpec. It also correctly sets the type and creator of the file spec being generated.
  307.                                                                                                                                                                                         
  308. Tracking Number: 1355420
  309. Description: Can't terminate threads when using ODF exceptions...NoteTermination creates a try block and iterates over the global guards. One of these is FW_CThreadGuardExceptionGlobals, which destroys the current exception block.
  310. Solution: We now switch to the main thread context during terminate.
  311.                                                                                                                                                                                         
  312. Tracking Number: 1355546
  313. Description: Need assert in FW_CBitmap and FW_CPicture when NULL rep
  314. Solution: Asserts were added.
  315.                                                                                                                                                                                         
  316. Tracking Number: 1355567
  317. Description: Can't return an autodestruct object from within an FW_TRY block  when using ODF emulated exceptions.
  318. Solution: Not solved when using emulated exceptions.
  319. Workaround: Use native exceptions.
  320.                                                                                                                                                                                         
  321. Tracking Number: 1356222
  322. Description: FW_Alert dialog layout is inconsistent with Macintosh HI guidelines (spacing is wrong)
  323. Solution: Fixed.
  324.                                                                                                                                                                                         
  325. Tracking Number: 1356623
  326. Description: FW_CRect::Map doesn't work when the top of the src and dest rectangle are the same
  327. Solution: FW_CRect::Map now uses FW_CPoint::Map, which works correctly.
  328.                                                                                                                                                                                         
  329. Tracking Number: 1356642
  330. Description: FW_MProxy::Externalize and FW_MProxy::Internalize should be virtual.
  331. Solution: Changed as requested.
  332.                                                                                                                                                                                         
  333. Tracking Number: 1356965
  334. Description: IF FW_PrivMemoryManager_ResizeSystemHandle fails to resize, the original handle might be disposed. This shows up in user code when an FW_CAcquiredTemporarySystemHandle is resized.
  335. Solution: Handle is no longer disposed when an exception is thrown.
  336.                                                                                                                                                                                         
  337. Tracking Number: 1357335
  338. Description: FW_CPullDownMenu::EnableAll doesn't always enable all menu items.
  339. Solution: Fixed.
  340.                                                                                                                                                                                         
  341. Tracking Number: 1357804
  342. Description: ODF is intercepting CanvasChanged messages.
  343. Solution: Added FW_CFrame::CanvasChanged.
  344.                                                                                                                                                                                         
  345. Tracking Number: 1358080
  346. Description: FW_CAcquireMultiFinderHeapZone ignores errors
  347. Solution: Fixed.
  348.                                                                                                                                                                                         
  349. Tracking Number: 1358407
  350. Description: Submenus that only contain submenus are never enabled
  351. Solution: Fixed.
  352.                                                                                                                                                                                         
  353. Tracking Number: 1359553
  354. Description: Can't link to ODWideDivide and ODWideMultiply functions in 68k builds
  355. Solution: ODMath.a has been added to the 68k CodeWarrior projects.
  356.  
  357. © 1993 - 1996 Apple Computer, Inc. All rights reserved.
  358. Apple, the Apple Logo, Macintosh, and OpenDoc are trademarks of Apple Computer, Inc., registered in the United States and other countries.